package com.hjwoo.app.views;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.hjwoo.app.R;
import com.hjwoo.app.utils.Utils;

public class TextActivity extends Activity
{

    TextView show_tv;
    TextView tv_des;

    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_text);

        Utils.initTitle("面审材料", this, true);

//        判断是不是附加材料
        if (getIntent().getStringExtra("description") != null)
        {
//            设置附加材料
            show_tv = (TextView) findViewById(R.id.show_tv);
            tv_des = (TextView) findViewById(R.id.tv_des);
            tv_des.setVisibility(View.VISIBLE);
            show_tv.setText("        "+getIntent().getStringExtra("description"));
        }

    }

}
